home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-11-19 | 5.5 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Nov 19 05:26:34 1996, modified Tue Nov 19 05:26:34 1996, creator 'MPS ', type ASCII, 4909 bytes "sendps.c" , at 0x13ad 456 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 73 65 6e 64 70 73 | 2e 63 00 00 00 00 00 00 |..sendps|.c......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 13 2d 00 | 00 01 c8 ae b7 3b da ae |......-.|.....;..|
|00000060| b7 3b da 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.;......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 aa 13 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 64 69 6f 2e |#include| <stdio.|
|00000090| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 3c 52 65 73 |h>.#incl|ude <Res|
|000000a0| 6f 75 72 63 65 73 2e 68 | 3e 0d 23 69 6e 63 6c 75 |ources.h|>.#inclu|
|000000b0| 64 65 20 3c 4d 65 6d 6f | 72 79 2e 68 3e 0d 23 69 |de <Memo|ry.h>.#i|
|000000c0| 6e 63 6c 75 64 65 20 3c | 43 75 72 73 6f 72 43 74 |nclude <|CursorCt|
|000000d0| 6c 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 45 |l.h>.#in|clude <E|
|000000e0| 72 72 4d 67 72 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |rrMgr.h>|.#includ|
|000000f0| 65 20 3c 54 65 78 74 55 | 74 69 6c 73 2e 68 3e 0d |e <TextU|tils.h>.|
|00000100| 0d 23 69 6e 63 6c 75 64 | 65 20 22 70 61 70 2e 68 |.#includ|e "pap.h|
|00000110| 22 09 2f 2f 20 66 72 6f | 6d 20 50 41 50 57 6f 72 |".// fro|m PAPWor|
|00000120| 6b 53 74 61 74 69 6f 6e | 2e 6f 20 70 61 63 6b 61 |kStation|.o packa|
|00000130| 67 65 0d 23 69 6e 63 6c | 75 64 65 20 22 43 75 72 |ge.#incl|ude "Cur|
|00000140| 72 65 6e 74 50 72 69 6e | 74 65 72 2e 68 22 09 2f |rentPrin|ter.h"./|
|00000150| 2f 20 66 72 6f 6d 20 74 | 68 65 20 43 75 72 72 65 |/ from t|he Curre|
|00000160| 6e 74 50 72 69 6e 74 65 | 72 20 73 61 6d 70 6c 65 |ntPrinte|r sample|
|00000170| 0d 0d 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |..//////|////////|
|00000180| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000190| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000001a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000001b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000001c0| 2f 2f 2f 2f 2f 2f 0d 2f | 2f 20 66 75 6e 63 74 69 |//////./|/ functi|
|000001d0| 6f 6e 73 20 74 6f 20 62 | 72 69 64 67 65 20 66 72 |ons to b|ridge fr|
|000001e0| 6f 6d 20 6f 6c 64 20 6e | 61 6d 65 73 20 74 6f 20 |om old n|ames to |
|000001f0| 6e 65 77 0d 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |new.////|////////|
|00000200| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000210| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000220| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000230| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000240| 2f 2f 2f 2f 2f 2f 2f 2f | 0d 73 68 6f 72 74 20 50 |////////|.short P|
|00000250| 41 50 52 65 61 64 28 73 | 68 6f 72 74 20 72 65 66 |APRead(s|hort ref|
|00000260| 4e 75 6d 2c 50 74 72 20 | 52 65 61 64 42 75 66 66 |Num,Ptr |ReadBuff|
|00000270| 2c 73 68 6f 72 74 20 2a | 44 61 74 61 53 69 7a 65 |,short *|DataSize|
|00000280| 2c 73 68 6f 72 74 20 2a | 65 6f 66 2c 73 68 6f 72 |,short *|eof,shor|
|00000290| 74 20 2a 43 6f 6d 70 53 | 74 61 74 65 29 0d 7b 0d |t *CompS|tate).{.|
|000002a0| 09 72 65 74 75 72 6e 20 | 57 50 41 50 52 65 61 64 |.return |WPAPRead|
|000002b0| 28 72 65 66 4e 75 6d 2c | 20 28 76 6f 69 64 20 2a |(refNum,| (void *|
|000002c0| 29 52 65 61 64 42 75 66 | 66 2c 20 44 61 74 61 53 |)ReadBuf|f, DataS|
|000002d0| 69 7a 65 2c 20 65 6f 66 | 2c 28 4f 53 45 72 72 20 |ize, eof|,(OSErr |
|000002e0| 2a 29 43 6f 6d 70 53 74 | 61 74 65 29 3b 0d 7d 0d |*)CompSt|ate);.}.|
|000002f0| 0d 73 68 6f 72 74 20 50 | 41 50 57 72 69 74 65 28 |.short P|APWrite(|
|00000300| 73 68 6f 72 74 20 72 65 | 66 4e 75 6d 2c 50 74 72 |short re|fNum,Ptr|
|00000310| 20 57 72 69 74 65 42 75 | 66 66 2c 73 68 6f 72 74 | WriteBu|ff,short|
|00000320| 20 44 61 74 61 53 69 7a | 65 2c 73 68 6f 72 74 20 | DataSiz|e,short |
|00000330| 65 6f 66 2c 73 68 6f 72 | 74 20 2a 43 6f 6d 70 53 |eof,shor|t *CompS|
|00000340| 74 61 74 65 29 0d 7b 0d | 09 72 65 74 75 72 6e 20 |tate).{.|.return |
|00000350| 57 50 41 50 57 72 69 74 | 65 28 72 65 66 4e 75 6d |WPAPWrit|e(refNum|
|00000360| 2c 28 76 6f 69 64 20 2a | 29 57 72 69 74 65 42 75 |,(void *|)WriteBu|
|00000370| 66 66 2c 20 44 61 74 61 | 53 69 7a 65 2c 20 65 6f |ff, Data|Size, eo|
|00000380| 66 2c 28 4f 53 45 72 72 | 20 2a 29 43 6f 6d 70 53 |f,(OSErr| *)CompS|
|00000390| 74 61 74 65 29 3b 0d 7d | 0d 0d 73 68 6f 72 74 20 |tate);.}|..short |
|000003a0| 50 41 50 43 6c 6f 73 65 | 28 73 68 6f 72 74 20 72 |PAPClose|(short r|
|000003b0| 65 66 4e 75 6d 29 0d 7b | 0d 09 72 65 74 75 72 6e |efNum).{|..return|
|000003c0| 20 57 50 41 50 43 6c 6f | 73 65 28 72 65 66 4e 75 | WPAPClo|se(refNu|
|000003d0| 6d 29 3b 0d 7d 0d 0d 73 | 74 61 74 69 63 20 76 6f |m);.}..s|tatic vo|
|000003e0| 69 64 20 43 6f 6e 76 65 | 72 74 45 4f 4c 73 28 63 |id Conve|rtEOLs(c|
|000003f0| 68 61 72 20 2a 62 75 66 | 66 65 72 2c 73 68 6f 72 |har *buf|fer,shor|
|00000400| 74 20 6c 65 6e 67 74 68 | 29 0d 7b 0d 09 73 68 6f |t length|).{..sho|
|00000410| 72 74 20 69 3b 0d 09 69 | 66 20 28 6c 65 6e 67 74 |rt i;..i|f (lengt|
|00000420| 68 3c 30 29 20 7b 0d 09 | 09 44 65 62 75 67 53 74 |h<0) {..|.DebugSt|
|00000430| 72 28 22 5c 70 46 6f 6f | 6c 69 73 68 20 48 75 6d |r("\pFoo|lish Hum|
|00000440| 61 6e 21 20 42 61 64 20 | 6c 65 6e 67 74 68 22 29 |an! Bad |length")|
|00000450| 3b 0d 09 09 72 65 74 75 | 72 6e 3b 0d 09 7d 0d 09 |;...retu|rn;..}..|
|00000460| 69 66 20 28 21 62 75 66 | 66 65 72 29 20 7b 0d 09 |if (!buf|fer) {..|
|00000470| 09 44 65 62 75 67 53 74 | 72 28 22 5c 70 46 6f 6f |.DebugSt|r("\pFoo|
|00000480| 6c 69 73 68 20 48 75 6d | 61 6e 21 20 42 61 64 20 |lish Hum|an! Bad |
|00000490| 62 75 66 66 65 72 22 29 | 3b 0d 09 09 72 65 74 75 |buffer")|;...retu|
|000004a0| 72 6e 3b 0d 09 7d 0d 09 | 66 6f 72 28 69 3d 30 3b |rn;..}..|for(i=0;|
|000004b0| 69 3c 6c 65 6e 67 74 68 | 3b 69 2b 2b 29 20 7b 0d |i<length|;i++) {.|
|000004c0| 09 09 69 66 20 28 62 75 | 66 66 65 72 5b 69 5d 20 |..if (bu|ffer[i] |
|000004d0| 3d 3d 20 27 5c 30 31 32 | 27 29 0d 09 09 09 62 75 |== '\012|')....bu|
|000004e0| 66 66 65 72 5b 69 5d 20 | 3d 20 27 5c 30 31 35 27 |ffer[i] |= '\015'|
|000004f0| 3b 0d 09 7d 0d 7d 0d 0d | 76 6f 69 64 20 64 69 73 |;..}.}..|void dis|
|00000500| 70 6c 61 79 53 74 61 74 | 75 73 20 28 73 74 72 75 |playStat|us (stru|
|00000510| 63 74 20 50 41 50 53 74 | 61 74 75 73 52 65 63 20 |ct PAPSt|atusRec |
|00000520| 2a 73 74 61 74 75 73 29 | 0d 7b 0d 09 73 74 61 74 |*status)|.{..stat|
|00000530| 69 63 20 53 74 72 32 35 | 35 09 6f 6c 64 53 74 61 |ic Str25|5.oldSta|
|00000540| 74 75 73 3b 0d 09 0d 09 | 69 66 20 28 45 71 75 61 |tus;....|if (Equa|
|00000550| 6c 53 74 72 69 6e 67 28 | 6f 6c 64 53 74 61 74 75 |lString(|oldStatu|
|00000560| 73 2c 73 74 61 74 75 73 | 2d 3e 73 74 61 74 75 73 |s,status|->status|
|00000570| 53 74 72 2c 66 61 6c 73 | 65 2c 66 61 6c 73 65 29 |Str,fals|e,false)|
|00000580| 29 0d 09 09 2f 2f 20 6e | 6f 74 68 69 6e 67 20 68 |)...// n|othing h|
|00000590| 61 73 20 63 68 61 6e 67 | 65 64 20 2d 20 6a 75 73 |as chang|ed - jus|
|000005a0| 74 20 72 65 74 75 72 6e | 0d 09 09 72 65 74 75 72 |t return|...retur|
|000005b0| 6e 3b 0d 09 65 6c 73 65 | 20 7b 0d 09 09 2f 2f 20 |n;..else| {...// |
|000005c0| 63 6f 70 79 20 69 6e 20 | 74 68 65 20 6e 65 77 20 |copy in |the new |
|000005d0| 73 74 61 74 75 73 0d 09 | 09 42 6c 6f 63 6b 4d 6f |status..|.BlockMo|
|000005e0| 76 65 28 73 74 61 74 75 | 73 2d 3e 73 74 61 74 75 |ve(statu|s->statu|
|000005f0| 73 53 74 72 2c 6f 6c 64 | 53 74 61 74 75 73 2c 28 |sStr,old|Status,(|
|00000600| 73 74 61 74 75 73 2d 3e | 73 74 61 74 75 73 53 74 |status->|statusSt|
|00000610| 72 5b 30 5d 29 2b 31 29 | 3b 0d 09 09 2f 2f 20 61 |r[0])+1)|;...// a|
|00000620| 6e 64 20 64 69 73 70 6c | 61 79 20 69 74 0d 09 09 |nd displ|ay it...|
|00000630| 2f 2f 20 74 68 69 73 20 | 61 73 73 75 6d 65 73 20 |// this |assumes |
|00000640| 61 20 70 72 69 6e 74 66 | 20 74 68 61 74 20 6b 6e |a printf| that kn|
|00000650| 6f 77 73 20 61 62 6f 75 | 74 20 70 61 73 63 61 6c |ows abou|t pascal|
|00000660| 20 73 74 72 69 6e 67 73 | 2e 20 49 66 20 79 6f 75 | strings|. If you|
|00000670| 0d 09 09 2f 2f 20 64 6f | 6e 27 74 20 68 61 76 65 |...// do|n't have|
|00000680| 20 6f 6e 65 2c 20 79 6f | 75 27 6c 6c 20 6e 65 65 | one, yo|u'll nee|
|00000690| 64 20 74 6f 20 63 6f 6e | 76 65 72 74 20 74 68 65 |d to con|vert the|
|000006a0| 20 73 74 72 69 6e 67 20 | 79 6f 75 72 73 65 6c 66 | string |yourself|
|000006b0| 2e 0d 09 09 66 70 72 69 | 6e 74 66 28 73 74 64 65 |....fpri|ntf(stde|
|000006c0| 72 72 2c 22 23 23 23 20 | 25 70 5c 6e 22 2c 6f 6c |rr,"### |%p\n",ol|
|000006d0| 64 53 74 61 74 75 73 29 | 3b 0d 09 7d 0d 7d 0d 0d |dStatus)|;..}.}..|
|000006e0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000006f0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000700| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000710| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000720| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000730| 2f 2f 2f 2f 0d 2f 2f 20 | 68 65 72 65 27 73 20 77 |////.// |here's w|
|00000740| 68 65 72 65 20 77 65 20 | 64 6f 20 61 6c 6c 20 74 |here we |do all t|
|00000750| 68 65 20 77 6f 72 6b 0d | 2f 2f 2f 2f 2f 2f 2f 2f |he work.|////////|
|00000760| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000770| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000780| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000790| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000007a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 0d 69 6e 74 |////////|////.int|
|000007b0| 20 6d 61 69 6e 28 69 6e | 74 20 61 72 67 63 2c 20 | main(in|t argc, |
|000007c0| 63 68 61 72 20 2a 2a 61 | 72 67 76 29 0d 7b 0d 09 |char **a|rgv).{..|
|000007d0| 53 74 72 32 35 35 20 6c | 77 6e 61 6d 65 3b 0d 09 |Str255 l|wname;..|
|000007e0| 69 6e 74 20 66 64 2c 20 | 69 3b 0d 09 63 68 61 72 |int fd, |i;..char|
|000007f0| 20 77 62 75 66 66 65 72 | 5b 34 30 39 36 5d 2c 20 | wbuffer|[4096], |
|00000800| 72 62 75 66 66 65 72 5b | 34 30 39 36 5d 3b 0d 09 |rbuffer[|4096];..|
|00000810| 73 74 72 75 63 74 20 50 | 41 50 53 74 61 74 75 73 |struct P|APStatus|
|00000820| 52 65 63 20 73 74 61 74 | 75 73 3b 0d 09 41 64 64 |Rec stat|us;..Add|
|00000830| 72 42 6c 6f 63 6b 09 70 | 72 69 6e 74 65 72 41 64 |rBlock.p|rinterAd|
|00000840| 64 72 65 73 73 3b 0d 09 | 73 68 6f 72 74 20 72 63 |dress;..|short rc|
|00000850| 6e 74 2c 20 77 63 6e 74 | 2c 20 72 65 6f 66 3b 0d |nt, wcnt|, reof;.|
|00000860| 09 73 68 6f 72 74 20 72 | 65 66 4e 75 6d 2c 20 77 |.short r|efNum, w|
|00000870| 73 74 61 74 65 2c 20 72 | 73 74 61 74 65 3b 0d 09 |state, r|state;..|
|00000880| 63 68 61 72 20 6d 73 67 | 5b 32 35 36 5d 3b 0d 0d |char msg|[256];..|
|00000890| 09 69 66 20 28 61 72 67 | 63 20 21 3d 20 32 29 20 |.if (arg|c != 2) |
|000008a0| 7b 0d 09 09 66 70 72 69 | 6e 74 66 28 73 74 64 65 |{...fpri|ntf(stde|
|000008b0| 72 72 2c 20 22 23 23 23 | 20 75 73 61 67 65 3a 20 |rr, "###| usage: |
|000008c0| 25 73 20 66 69 6c 65 6e | 61 6d 65 5c 6e 22 2c 20 |%s filen|ame\n", |
|000008d0| 61 72 67 76 5b 30 5d 29 | 3b 0d 09 09 65 78 69 74 |argv[0])|;...exit|
|000008e0| 28 31 29 3b 0d 09 7d 0d | 09 66 64 20 3d 20 6f 70 |(1);..}.|.fd = op|
|000008f0| 65 6e 28 61 72 67 76 5b | 31 5d 2c 20 30 29 3b 0d |en(argv[|1], 0);.|
|00000900| 09 69 66 20 28 66 64 20 | 3c 20 30 29 20 7b 0d 09 |.if (fd |< 0) {..|
|00000910| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|00000920| 20 22 23 23 23 20 25 73 | 3a 20 63 61 6e 27 74 20 | "### %s|: can't |
|00000930| 6f 70 65 6e 20 27 25 73 | 27 20 66 6f 72 20 72 65 |open '%s|' for re|
|00000940| 61 64 69 6e 67 5c 6e 22 | 2c 20 61 72 67 76 5b 30 |ading\n"|, argv[0|
|00000950| 5d 2c 20 61 72 67 76 5b | 31 5d 29 3b 0d 09 09 65 |], argv[|1]);...e|
|00000960| 78 69 74 28 31 29 3b 0d | 09 7d 0d 09 0d 09 69 66 |xit(1);.|.}....if|
|00000970| 20 28 47 65 74 43 75 72 | 72 65 6e 74 50 72 69 6e | (GetCur|rentPrin|
|00000980| 74 65 72 28 6c 77 6e 61 | 6d 65 29 20 21 3d 20 6e |ter(lwna|me) != n|
|00000990| 6f 45 72 72 29 20 65 78 | 69 74 28 31 29 3b 0d 0d |oErr) ex|it(1);..|
|000009a0| 09 49 6e 69 74 43 75 72 | 73 6f 72 43 74 6c 28 4e |.InitCur|sorCtl(N|
|000009b0| 55 4c 4c 29 3b 0d 09 53 | 68 6f 77 5f 43 75 72 73 |ULL);..S|how_Curs|
|000009c0| 6f 72 28 57 41 54 43 48 | 5f 43 55 52 53 4f 52 29 |or(WATCH|_CURSOR)|
|000009d0| 3b 0d 0d 09 69 20 3d 20 | 50 41 50 4f 70 65 6e 28 |;...i = |PAPOpen(|
|000009e0| 26 72 65 66 4e 75 6d 2c | 20 28 45 6e 74 69 74 79 |&refNum,| (Entity|
|000009f0| 4e 61 6d 65 20 2a 29 20 | 6c 77 6e 61 6d 65 2c 20 |Name *) |lwname, |
|00000a00| 38 2c 26 73 74 61 74 75 | 73 2c 20 26 77 73 74 61 |8,&statu|s, &wsta|
|00000a10| 74 65 29 3b 0d 09 69 66 | 20 28 69 29 20 7b 0d 09 |te);..if| (i) {..|
|00000a20| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|00000a30| 20 22 23 23 23 20 25 73 | 3a 20 25 73 5c 6e 22 2c | "### %s|: %s\n",|
|00000a40| 20 61 72 67 76 5b 30 5d | 2c 20 47 65 74 53 79 73 | argv[0]|, GetSys|
|00000a50| 45 72 72 54 65 78 74 28 | 69 2c 20 6d 73 67 29 29 |ErrText(|i, msg))|
|00000a60| 3b 0d 09 09 65 78 69 74 | 28 31 29 3b 0d 09 7d 0d |;...exit|(1);..}.|
|00000a70| 09 77 68 69 6c 65 20 28 | 77 73 74 61 74 65 20 3e |.while (|wstate >|
|00000a80| 20 30 29 20 7b 0d 09 09 | 2f 2f 20 73 70 69 6e 20 | 0) {...|// spin |
|00000a90| 74 68 65 20 63 75 72 73 | 6f 72 20 28 77 68 69 63 |the curs|or (whic|
|00000aa0| 68 20 6c 65 74 73 20 4d | 50 57 20 63 68 65 63 6b |h lets M|PW check|
|00000ab0| 20 66 6f 72 20 63 61 6e | 63 65 6c 73 20 66 6f 72 | for can|cels for|
|00000ac0| 20 75 73 29 0d 09 09 52 | 6f 74 61 74 65 43 75 72 | us)...R|otateCur|
|00000ad0| 73 6f 72 28 33 32 29 3b | 0d 09 09 2f 2f 20 6f 68 |sor(32);|...// oh|
|00000ae0| 2c 20 61 6e 64 20 64 69 | 73 70 6c 61 79 20 73 6f |, and di|splay so|
|00000af0| 6d 65 20 73 74 61 74 75 | 73 2c 20 74 6f 6f 2e 2e |me statu|s, too..|
|00000b00| 2e 2e 0d 09 09 64 69 73 | 70 6c 61 79 53 74 61 74 |.....dis|playStat|
|00000b10| 75 73 28 26 73 74 61 74 | 75 73 29 3b 0d 09 7d 0d |us(&stat|us);..}.|
|00000b20| 09 69 66 20 28 77 73 74 | 61 74 65 29 20 7b 0d 09 |.if (wst|ate) {..|
|00000b30| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|00000b40| 20 22 23 23 23 20 25 73 | 3a 20 25 73 5c 6e 22 2c | "### %s|: %s\n",|
|00000b50| 20 61 72 67 76 5b 30 5d | 2c 20 47 65 74 53 79 73 | argv[0]|, GetSys|
|00000b60| 45 72 72 54 65 78 74 28 | 77 73 74 61 74 65 2c 20 |ErrText(|wstate, |
|00000b70| 6d 73 67 29 29 3b 0d 09 | 09 50 41 50 43 6c 6f 73 |msg));..|.PAPClos|
|00000b80| 65 28 72 65 66 4e 75 6d | 29 3b 0d 09 09 57 50 41 |e(refNum|);...WPA|
|00000b90| 50 55 6e 6c 6f 61 64 28 | 29 3b 0d 09 09 65 78 69 |PUnload(|);...exi|
|00000ba0| 74 28 31 29 3b 0d 09 7d | 0d 2f 2f 09 44 65 62 75 |t(1);..}|.//.Debu|
|00000bb0| 67 53 74 72 28 22 5c 70 | 4f 70 65 6e 65 64 22 29 |gStr("\p|Opened")|
|00000bc0| 3b 0d 0d 09 2f 2f 20 49 | 73 73 75 65 20 61 20 50 |;...// I|ssue a P|
|00000bd0| 41 50 52 65 61 64 20 73 | 6f 20 77 68 65 6e 20 74 |APRead s|o when t|
|00000be0| 68 65 20 70 72 69 6e 74 | 65 72 20 77 61 6e 74 73 |he print|er wants|
|00000bf0| 20 74 6f 20 74 61 6c 6b | 20 74 6f 20 75 73 2c 20 | to talk| to us, |
|00000c00| 69 74 20 63 61 6e 0d 09 | 72 63 6e 74 20 3d 20 73 |it can..|rcnt = s|
|00000c10| 69 7a 65 6f 66 28 72 62 | 75 66 66 65 72 29 3b 0d |izeof(rb|uffer);.|
|00000c20| 09 72 65 6f 66 20 3d 20 | 30 3b 0d 09 50 41 50 52 |.reof = |0;..PAPR|
|00000c30| 65 61 64 28 72 65 66 4e | 75 6d 2c 20 28 50 74 72 |ead(refN|um, (Ptr|
|00000c40| 29 20 72 62 75 66 66 65 | 72 2c 20 26 72 63 6e 74 |) rbuffe|r, &rcnt|
|00000c50| 2c 20 26 72 65 6f 66 2c | 20 26 72 73 74 61 74 65 |, &reof,| &rstate|
|00000c60| 29 3b 0d 2f 2f 09 44 65 | 62 75 67 53 74 72 28 22 |);.//.De|bugStr("|
|00000c70| 5c 70 49 73 73 75 65 64 | 20 74 68 61 74 20 66 69 |\pIssued| that fi|
|00000c80| 72 73 74 20 72 65 61 64 | 2e 2e 2e 22 29 3b 0d 0d |rst read|...");..|
|00000c90| 09 77 68 69 6c 65 20 28 | 28 69 20 3d 20 72 65 61 |.while (|(i = rea|
|00000ca0| 64 28 66 64 2c 20 28 50 | 74 72 29 20 77 62 75 66 |d(fd, (P|tr) wbuf|
|00000cb0| 66 65 72 2c 20 73 69 7a | 65 6f 66 28 77 62 75 66 |fer, siz|eof(wbuf|
|00000cc0| 66 65 72 29 29 29 20 21 | 3d 20 30 29 20 7b 0d 09 |fer))) !|= 0) {..|
|00000cd0| 09 77 63 6e 74 20 3d 20 | 69 3b 0d 09 09 52 6f 74 |.wcnt = |i;...Rot|
|00000ce0| 61 74 65 43 75 72 73 6f | 72 28 33 32 29 3b 0d 09 |ateCurso|r(32);..|
|00000cf0| 09 50 41 50 57 72 69 74 | 65 28 72 65 66 4e 75 6d |.PAPWrit|e(refNum|
|00000d00| 2c 20 28 50 74 72 29 20 | 77 62 75 66 66 65 72 2c |, (Ptr) |wbuffer,|
|00000d10| 20 77 63 6e 74 2c 20 30 | 2c 20 26 77 73 74 61 74 | wcnt, 0|, &wstat|
|00000d20| 65 29 3b 0d 09 09 77 68 | 69 6c 65 20 28 77 73 74 |e);...wh|ile (wst|
|00000d30| 61 74 65 20 3e 20 30 29 | 20 7b 0d 09 09 09 69 66 |ate > 0)| {....if|
|00000d40| 20 28 72 73 74 61 74 65 | 20 3d 3d 20 30 29 20 7b | (rstate| == 0) {|
|00000d50| 0d 09 09 09 09 66 6f 72 | 20 28 69 20 3d 20 30 3b |.....for| (i = 0;|
|00000d60| 20 69 20 3c 20 72 63 6e | 74 3b 20 69 2b 2b 29 0d | i < rcn|t; i++).|
|00000d70| 09 09 09 09 09 69 66 20 | 28 72 62 75 66 66 65 72 |.....if |(rbuffer|
|00000d80| 5b 69 5d 20 21 3d 20 27 | 5c 30 31 32 27 29 20 70 |[i] != '|\012') p|
|00000d90| 75 74 63 68 61 72 28 72 | 62 75 66 66 65 72 5b 69 |utchar(r|buffer[i|
|00000da0| 5d 29 3b 0d 09 09 09 09 | 66 66 6c 75 73 68 28 73 |]);.....|fflush(s|
|00000db0| 74 64 6f 75 74 29 3b 0d | 09 09 09 09 72 63 6e 74 |tdout);.|....rcnt|
|00000dc0| 20 3d 20 73 69 7a 65 6f | 66 28 72 62 75 66 66 65 | = sizeo|f(rbuffe|
|00000dd0| 72 29 3b 0d 09 09 09 09 | 72 65 6f 66 20 3d 20 30 |r);.....|reof = 0|
|00000de0| 3b 0d 09 09 09 09 52 6f | 74 61 74 65 43 75 72 73 |;.....Ro|tateCurs|
|00000df0| 6f 72 28 2d 33 32 29 3b | 0d 09 09 09 09 50 41 50 |or(-32);|.....PAP|
|00000e00| 52 65 61 64 28 72 65 66 | 4e 75 6d 2c 20 28 50 74 |Read(ref|Num, (Pt|
|00000e10| 72 29 20 72 62 75 66 66 | 65 72 2c 20 26 72 63 6e |r) rbuff|er, &rcn|
|00000e20| 74 2c 20 26 72 65 6f 66 | 2c 20 26 72 73 74 61 74 |t, &reof|, &rstat|
|00000e30| 65 29 3b 0d 09 09 09 7d | 20 65 6c 73 65 20 69 66 |e);....}| else if|
|00000e40| 20 28 72 73 74 61 74 65 | 20 3c 20 30 29 20 7b 0d | (rstate| < 0) {.|
|00000e50| 09 09 09 09 66 70 72 69 | 6e 74 66 28 73 74 64 65 |....fpri|ntf(stde|
|00000e60| 72 72 2c 20 22 23 23 23 | 20 25 73 3a 20 25 73 5c |rr, "###| %s: %s\|
|00000e70| 6e 22 2c 20 61 72 67 76 | 5b 30 5d 2c 20 47 65 74 |n", argv|[0], Get|
|00000e80| 53 79 73 45 72 72 54 65 | 78 74 28 72 73 74 61 74 |SysErrTe|xt(rstat|
|00000e90| 65 2c 20 6d 73 67 29 29 | 3b 0d 09 09 09 09 50 41 |e, msg))|;.....PA|
|00000ea0| 50 43 6c 6f 73 65 28 72 | 65 66 4e 75 6d 29 3b 0d |PClose(r|efNum);.|
|00000eb0| 09 09 09 09 57 50 41 50 | 55 6e 6c 6f 61 64 28 29 |....WPAP|Unload()|
|00000ec0| 3b 0d 09 09 09 09 65 78 | 69 74 28 31 29 3b 0d 09 |;.....ex|it(1);..|
|00000ed0| 09 09 7d 20 65 6c 73 65 | 20 7b 0d 09 09 09 09 2f |..} else| {...../|
|00000ee0| 2f 20 57 65 27 72 65 20 | 6e 6f 74 20 64 6f 69 6e |/ We're |not doin|
|00000ef0| 67 20 61 6e 79 74 68 69 | 6e 67 20 65 6c 73 65 2c |g anythi|ng else,|
|00000f00| 20 63 68 65 63 6b 20 74 | 68 65 20 73 74 61 74 75 | check t|he statu|
|00000f10| 73 0d 09 09 09 09 50 41 | 50 53 74 61 74 75 73 28 |s.....PA|PStatus(|
|00000f20| 28 45 6e 74 69 74 79 4e | 61 6d 65 20 2a 29 20 6c |(EntityN|ame *) l|
|00000f30| 77 6e 61 6d 65 2c 26 73 | 74 61 74 75 73 2c 26 70 |wname,&s|tatus,&p|
|00000f40| 72 69 6e 74 65 72 41 64 | 64 72 65 73 73 29 3b 0d |rinterAd|dress);.|
|00000f50| 09 09 09 09 64 69 73 70 | 6c 61 79 53 74 61 74 75 |....disp|layStatu|
|00000f60| 73 28 26 73 74 61 74 75 | 73 29 3b 0d 09 09 09 7d |s(&statu|s);....}|
|00000f70| 0d 09 09 7d 0d 09 09 69 | 66 20 28 77 73 74 61 74 |...}...i|f (wstat|
|00000f80| 65 20 3c 20 30 29 20 7b | 0d 09 09 09 66 70 72 69 |e < 0) {|....fpri|
|00000f90| 6e 74 66 28 73 74 64 65 | 72 72 2c 20 22 23 23 23 |ntf(stde|rr, "###|
|00000fa0| 20 25 73 3a 20 25 73 5c | 6e 22 2c 20 61 72 67 76 | %s: %s\|n", argv|
|00000fb0| 5b 30 5d 2c 20 47 65 74 | 53 79 73 45 72 72 54 65 |[0], Get|SysErrTe|
|00000fc0| 78 74 28 77 73 74 61 74 | 65 2c 20 6d 73 67 29 29 |xt(wstat|e, msg))|
|00000fd0| 3b 0d 09 09 09 50 41 50 | 43 6c 6f 73 65 28 72 65 |;....PAP|Close(re|
|00000fe0| 66 4e 75 6d 29 3b 0d 09 | 09 09 57 50 41 50 55 6e |fNum);..|..WPAPUn|
|00000ff0| 6c 6f 61 64 28 29 3b 0d | 09 09 09 65 78 69 74 28 |load();.|...exit(|
|00001000| 31 29 3b 0d 09 09 7d 0d | 2f 2f 09 09 44 65 62 75 |1);...}.|//..Debu|
|00001010| 67 53 74 72 28 22 5c 70 | 53 65 6e 74 20 61 20 62 |gStr("\p|Sent a b|
|00001020| 75 66 66 65 72 22 29 3b | 0d 09 7d 0d 09 52 6f 74 |uffer");|..}..Rot|
|00001030| 61 74 65 43 75 72 73 6f | 72 28 33 32 29 3b 0d 09 |ateCurso|r(32);..|
|00001040| 50 41 50 57 72 69 74 65 | 28 72 65 66 4e 75 6d 2c |PAPWrite|(refNum,|
|00001050| 20 28 50 74 72 29 20 22 | 22 2c 20 30 2c 20 31 2c | (Ptr) "|", 0, 1,|
|00001060| 20 26 77 73 74 61 74 65 | 29 3b 0d 2f 2f 09 44 65 | &wstate|);.//.De|
|00001070| 62 75 67 53 74 72 28 22 | 5c 70 53 65 6e 74 20 45 |bugStr("|\pSent E|
|00001080| 4f 46 22 29 3b 0d 09 66 | 6f 72 28 3b 3b 29 20 7b |OF");..f|or(;;) {|
|00001090| 09 09 2f 2f 20 77 65 20 | 63 68 65 63 6b 20 72 65 |..// we |check re|
|000010a0| 6f 66 20 61 6e 64 20 62 | 72 65 61 6b 20 74 6f 20 |of and b|reak to |
|000010b0| 65 78 69 74 0d 09 09 69 | 66 20 28 72 73 74 61 74 |exit...i|f (rstat|
|000010c0| 65 20 3d 3d 20 30 29 20 | 7b 0d 09 09 09 63 68 61 |e == 0) |{....cha|
|000010d0| 72 09 66 6f 6f 5b 34 30 | 39 36 5d 3b 0d 0d 09 09 |r.foo[40|96];....|
|000010e0| 09 6d 65 6d 73 65 74 28 | 66 6f 6f 2c 30 2c 34 30 |.memset(|foo,0,40|
|000010f0| 39 36 29 3b 0d 09 09 09 | 73 74 72 6e 63 70 79 28 |96);....|strncpy(|
|00001100| 66 6f 6f 2c 72 62 75 66 | 66 65 72 2c 72 63 6e 74 |foo,rbuf|fer,rcnt|
|00001110| 29 3b 0d 09 09 09 43 6f | 6e 76 65 72 74 45 4f 4c |);....Co|nvertEOL|
|00001120| 73 28 66 6f 6f 2c 72 63 | 6e 74 29 3b 0d 09 09 09 |s(foo,rc|nt);....|
|00001130| 70 72 69 6e 74 66 28 22 | 25 73 22 2c 66 6f 6f 29 |printf("|%s",foo)|
|00001140| 3b 0d 09 09 09 66 66 6c | 75 73 68 28 73 74 64 6f |;....ffl|ush(stdo|
|00001150| 75 74 29 3b 0d 09 09 09 | 69 66 20 28 72 65 6f 66 |ut);....|if (reof|
|00001160| 29 0d 09 09 09 09 2f 2f | 20 77 65 20 72 65 63 65 |).....//| we rece|
|00001170| 69 76 65 64 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |ived the| end of |
|00001180| 66 69 6c 65 20 66 72 6f | 6d 20 74 68 65 20 70 72 |file fro|m the pr|
|00001190| 69 6e 74 65 72 2e 20 57 | 65 27 72 65 20 64 6f 6e |inter. W|e're don|
|000011a0| 65 2e 0d 09 09 09 09 62 | 72 65 61 6b 3b 0d 09 09 |e......b|reak;...|
|000011b0| 09 72 63 6e 74 20 3d 20 | 73 69 7a 65 6f 66 28 72 |.rcnt = |sizeof(r|
|000011c0| 62 75 66 66 65 72 29 3b | 0d 09 09 09 72 65 6f 66 |buffer);|....reof|
|000011d0| 20 3d 20 30 3b 0d 09 09 | 09 52 6f 74 61 74 65 43 | = 0;...|.RotateC|
|000011e0| 75 72 73 6f 72 28 2d 33 | 32 29 3b 0d 09 09 09 50 |ursor(-3|2);....P|
|000011f0| 41 50 52 65 61 64 28 72 | 65 66 4e 75 6d 2c 20 28 |APRead(r|efNum, (|
|00001200| 50 74 72 29 20 72 62 75 | 66 66 65 72 2c 20 26 72 |Ptr) rbu|ffer, &r|
|00001210| 63 6e 74 2c 20 26 72 65 | 6f 66 2c 20 26 72 73 74 |cnt, &re|of, &rst|
|00001220| 61 74 65 29 3b 0d 09 09 | 7d 20 65 6c 73 65 20 69 |ate);...|} else i|
|00001230| 66 20 28 72 73 74 61 74 | 65 20 3c 20 30 29 20 7b |f (rstat|e < 0) {|
|00001240| 0d 09 09 09 2f 2f 20 67 | 6f 74 20 61 6e 20 65 72 |....// g|ot an er|
|00001250| 72 6f 72 0d 09 09 09 66 | 70 72 69 6e 74 66 28 73 |ror....f|printf(s|
|00001260| 74 64 65 72 72 2c 20 22 | 23 23 23 20 25 73 3a 20 |tderr, "|### %s: |
|00001270| 25 73 5c 6e 22 2c 20 61 | 72 67 76 5b 30 5d 2c 20 |%s\n", a|rgv[0], |
|00001280| 47 65 74 53 79 73 45 72 | 72 54 65 78 74 28 72 73 |GetSysEr|rText(rs|
|00001290| 74 61 74 65 2c 20 6d 73 | 67 29 29 3b 0d 09 09 09 |tate, ms|g));....|
|000012a0| 50 41 50 43 6c 6f 73 65 | 28 72 65 66 4e 75 6d 29 |PAPClose|(refNum)|
|000012b0| 3b 0d 09 09 09 57 50 41 | 50 55 6e 6c 6f 61 64 28 |;....WPA|PUnload(|
|000012c0| 29 3b 0d 09 09 09 65 78 | 69 74 28 31 29 3b 0d 09 |);....ex|it(1);..|
|000012d0| 09 7d 20 65 6c 73 65 20 | 7b 0d 09 09 09 2f 2f 20 |.} else |{....// |
|000012e0| 57 65 27 72 65 20 6e 6f | 74 20 64 6f 6e 65 20 79 |We're no|t done y|
|000012f0| 65 74 2c 20 73 6f 20 63 | 68 65 63 6b 20 74 68 65 |et, so c|heck the|
|00001300| 20 73 74 61 74 75 73 0d | 09 09 09 50 41 50 53 74 | status.|...PAPSt|
|00001310| 61 74 75 73 28 28 45 6e | 74 69 74 79 4e 61 6d 65 |atus((En|tityName|
|00001320| 20 2a 29 20 6c 77 6e 61 | 6d 65 2c 26 73 74 61 74 | *) lwna|me,&stat|
|00001330| 75 73 2c 26 70 72 69 6e | 74 65 72 41 64 64 72 65 |us,&prin|terAddre|
|00001340| 73 73 29 3b 0d 09 09 09 | 64 69 73 70 6c 61 79 53 |ss);....|displayS|
|00001350| 74 61 74 75 73 28 26 73 | 74 61 74 75 73 29 3b 0d |tatus(&s|tatus);.|
|00001360| 09 09 7d 0d 09 7d 0d 09 | 50 41 50 43 6c 6f 73 65 |..}..}..|PAPClose|
|00001370| 28 72 65 66 4e 75 6d 29 | 3b 0d 09 57 50 41 50 55 |(refNum)|;..WPAPU|
|00001380| 6e 6c 6f 61 64 28 29 3b | 0d 2f 2f 09 44 65 62 75 |nload();|.//.Debu|
|00001390| 67 53 74 72 28 22 5c 70 | 43 6c 6f 73 65 64 20 6e |gStr("\p|Closed n|
|000013a0| 6f 72 6d 61 6c 6c 79 22 | 29 3b 0d 7d 0d 00 00 00 |ormally"|);.}....|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 01 00 00 00 01 76 | 00 00 00 76 00 00 00 52 |.......v|...v...R|
|00001410| 75 72 6e 20 72 65 73 3b | 0d 7d 0d 0d 6d 61 69 6e |urn res;|.}..main|
|00001420| 28 69 6e 74 20 61 72 67 | 63 2c 20 63 68 61 72 20 |(int arg|c, char |
|00001430| 08 73 65 6e 64 70 73 2e | 63 00 02 00 00 00 54 45 |.sendps.|c.....TE|
|00001440| 58 54 4d 50 53 20 01 00 | 00 35 00 8e 00 00 00 00 |XTMPS ..|.5......|
|00001450| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 35 00 8e |..TEXTMP|S ...5..|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 a2 e3 55 80 00 00 | 13 2d 00 00 01 c8 75 73 |....U...|.-....us|
|00001480| 5b 32 30 34 38 5d 3b 0d | 09 73 68 6f 72 74 20 72 |[2048];.|.short r|
|00001490| 63 6e 74 2c 20 77 63 6e | 74 2c 20 72 65 6f 66 3b |cnt, wcn|t, reof;|
|000014a0| 0d 09 73 68 6f 72 74 20 | 72 65 66 4e 75 6d 2c 20 |..short |refNum, |
|000014b0| 77 73 74 61 74 65 2c 20 | 72 73 74 61 74 65 3b 0d |wstate, |rstate;.|
|000014c0| 09 63 68 61 72 20 6d 73 | 67 5b 32 35 36 5d 3b 0d |.char ms|g[256];.|
|000014d0| 0d 09 69 66 20 28 61 72 | 67 63 20 21 3d 20 32 29 |..if (ar|gc != 2)|
|000014e0| 20 7b 0d 09 09 66 70 72 | 69 6e 74 66 28 73 74 64 | {...fpr|intf(std|
|000014f0| 65 72 72 2c 20 22 23 23 | 23 20 75 73 61 67 65 3a |err, "##|# usage:|
|00001500| 00 00 00 1e 00 37 00 fe | 02 2b 03 32 00 44 01 52 |.....7..|.+.2.D.R|
|00001510| 02 38 03 86 00 00 03 8a | 00 00 00 00 00 00 00 00 |.8......|........|
|00001520| 00 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 00 |.....H..|Monaco..|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 03 00 04 00 3e 00 fe |........|.....>..|
|00001550| 02 2b 03 32 00 3e 00 fe | 02 2b 03 32 ae b7 46 76 |.+.2.>..|.+.2..Fv|
|00001560| 00 00 11 48 00 00 11 48 | 00 00 0f 67 01 00 00 00 |...H...H|...g....|
|00001570| 00 04 00 01 00 01 00 00 | 01 00 00 00 01 76 00 00 |........|.....v..|
|00001580| 00 76 00 00 00 52 02 cf | be 08 2f 60 00 00 00 1c |.v...R..|../`....|
|00001590| 00 52 00 01 4d 50 53 52 | 00 01 00 12 4d 57 42 42 |.R..MPSR|....MWBB|
|000015a0| 00 00 00 2a 03 f0 ff ff | 00 00 00 00 00 00 00 00 |...*....|........|
|000015b0| 03 ed ff ff 00 00 00 22 | 00 00 00 00 03 f0 ff ff |......."|........|
|000015c0| 00 00 00 6e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...n....|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+